#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main() {
	char s[30];
	int cs;
	cs = scanf("%s", s);
	if (cs < 1) {
		return -1;
	}
	char* p = s;
	int length;
	for (length = 0; s[length] != '\0'; length++);
	for (int i = 0, j = length - 1; i < length / 2; i++, j--) {
		if (p[i] != p[j]) {
			printf("false\n");
			return 0;
		}
	}
	printf("true\n");
	return 0;
}
